<?php

namespace DesignModel\database;
/**
 * Interface Db
 * @description:适配器模式
 * @time:
 * @Author: yfl
 * @QQ 554665488
 */
interface Db
{
    public function connect($host, $user, $password, $db_name);

    public function query($query);

    public function close();
}